import { Config } from '../../utils/config.js';

Page({
  data: {
    seller_name:"",
    invoice_money:"",
    project_name:"",
    invoice_type:"",
    invoice_rise:"",
    invoice_state:"",
    invoice_transaction:"",
   
  },

  // 点击反馈
  click_feedback:function(){
    wx.navigateTo({
      url: '/pages/feedback/feedback?fpqqlsh=' + this.data.invoice_transaction,
    })
  },

  onLoad:function(e){
    var that = this;
    console.log(e);
 
    var xsfMc = e.xsfmc;  //售方名称
    var money = e.money;  //发票金额
    var xmMc = e.xmmc;  //项目名称
    var title = e.title;  //发票抬头
    var tax_no = e.tax_no;   //税号
    var state = e.state; //开票状态
    var fpqqlsh = e.fpqqlsh;  //发票流水号

    that.setData({
      seller_name: xsfMc,
      invoice_money: money,
      project_name: xmMc,
      invoice_type: tax_no,
      invoice_rise: title,
      invoice_state: state,
      invoice_transaction: fpqqlsh,
    })
   
    
    
    
  }

})
